import { defineConfig } from 'wxt';

// See https://wxt.dev/api/config.html
export default defineConfig({
  manifest: {
    name: 'Dark Reader',
    version: '0.0.1',
    description: '__MSG_extension_description__',    
    default_locale: 'en',
    permissions: [
      'alarms',
      'fontSettings',
      'storage',
      'tabs',
      '<all_urls>'
    ],
    optional_permissions: [
      'contextMenus'
    ],
    commands: {
      toggle: {
        suggested_key: {
          default: 'Alt+Shift+D'
        },
        description: '__MSG_toggle_extension__'
      },
      addSite: {
        suggested_key: {
          default: 'Alt+Shift+A'
        },
        description: '__MSG_toggle_current_site__'
      },
      switchEngine: {
        description: '__MSG_theme_generation_mode__'
      }
    }    
  },
  modules: ['@wxt-dev/module-vue'],
});
